import request from '@/utils/request'
import { download } from '@/utils/request'

// 删除匹配管理
export function delMatch(id) {
  return request({
    url: '/businessCore/faMatch/' + id,
    method: 'delete'
  })
}

// 导出匹配管理
export function exportMatch(params, fileName) {
  const url = '/businessCore/faMatch/export'
  download(
    url,
    params,
    fileName + `_${new Date().getTime()}.xlsx`
  )
}